<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>支付结果</title>
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" />
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<link rel="stylesheet" href="../static/css/common/reset.min.css" />
		<link rel="stylesheet" href="../static/css/order/repay_success.css" />
	</head>

	<body>
		<div class="wrap">
			<img src="../static/img/pic_complete.png" class="ok-img">
			<p>恭喜您，还款成功！</p>
			<button class="continue-repayment" onclick="choose(1)">回到首页</button>
			<button class="check-order-detail" onclick="choose(2)">查看详情</button>
		</div>
	</body>
	<script src="../static/js/common/jquery.min.js"></script>
	<script src="../static/js/bridge.js"></script>
	<script src="../static/js/common.js?v=1"></script>
	<script>
		function choose(value) {
			var orderId = request['orderId'];
			var token = getToken();
			if(value == 1) {
				try {
					closeAndOpen(2);
				} catch(e) {
					//TODO handle the exception
				}
			} else {
				closeAndOpen(0);
				return;
			}
		};
		viewSetup(0, 0, "支付结果", 0);
	</script>

</html>